#ifndef __PIXELWIFI_H
#define __PIXELWIFI_H
// #include "WiFi.h"
// #include "NTPClient.h"
#include "WiFiUdp.h"
#include "WiFiManager.h"
#include <WiFiClient.h>
#include <WebServer.h>
#include <ESPmDNS.h>
#include <HTTPUpdateServer.h>
extern uint8_t WIFI_STATE;
extern uint8_t firmware_run;

#define WIFI_NOT_CONNECT 0
#define WIFI_CONNECTING 1
#define WIFI_CONNECTED 2

extern char wifi_ssid[20];
extern char wifi_pwd[20];
extern char weather_key[20];
extern char weather_city[20];
extern char blinker_key[20];
extern WiFiManager wm;
extern WiFiManagerParameter set_weather_key;
extern WiFiManagerParameter set_city;
extern WiFiManagerParameter set_blinker_key;

void initWiFi(void);
void wifiCheckTask(void);

#endif